<template>
	<view class="contact">
		<image class="img"></image>
		<view class="info">
			<view @click="phone">联系电话: 440-618-9090</view>
			<view>地址:asdasdsasa</view>
		</view>
		<map name="" 
		class="map"
		:longitude="longitude"
		:latitude="latitude"
		:markers="markers"
		:scale="scale"
		></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:120.363172,
				latitude:30.312212,
				scale:11,
				markers:[
					{
						longitude:120.363172,
						latitude:30.312212,
						iconPath:'',
						width:30,
						height:30
					},
				]	
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:'400-618-9090'
				})
			}
		}
	}
</script>

<style lang="scss">
.contact{
	.img{
		width: 750rpx;
		height: 320rpx;
	}
	.info{
		padding: 10rpx 20rpx;
		font-size: 30rpx;
		view{
			line-height: 80rpx;
			border-bottom: 1px solid #eee;
		}
	}
	.map{
		
	}
}
</style>
